package com.rose.doorto.footbathdoor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rose.doorto.footbathdoor.pojo.Project;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *     项目信息表 Mapper 接口
 * </p>
 * @Author 李庆超
 * @email 1481791489@qq.com
 * @Package：com.rose.doorto.footbathdoor.mapper
 * @Project：door-to-door
 * @name：ProjectMapper
 * @date 2024/07/10 2024/7/10:10:43:
 */
@Mapper
public interface ProjectMapper extends BaseMapper<Project> {

    /**
     * 获取项目详情信息
     * @param pid
     * @return
     */
    Project getProjectById(int pid);


    List<Project> getProjectListById(int tid);

    List<Project> findAll();
}
